/** the following JS can be placed with a. js file **/This conversion code is posted from the network, after I modified hereby explainvar default_isft = 0; Default whether traditional, 0-simplified, 1-Traditionalvar stranit_delay = 50; Translation
Html:S2t.js: Individual words can be added manually, corresponding to the location can be simplified, (array implementation)/** * jquery-s2t v0.1.0 * *https://github.com/hustlzp/jquery-s2t* A JQuery plugin to convert between Simplified Chinese and
function | conversion 1.gb.asp
' Get the server-generated HTML code
Function gethttppage (URL)
Dim XmlHttp
Set Xmlhttp=server.createobject ("Microsoft.XMLHTTP")
Xmlhttp.open "Get", Url,false
Xmlhttp.send ()
' Gethttppage=http.responsetext
If
Copy Code code as follows:
var default_isft = 0//default is traditional, 0-simplified, 1-Traditional
var stranit_delay = 50//Translation delay millisecond (this is designed to let the Web page appear smoothly first)
--code start, do not
Editor's note: The March 18 of each year is "National love Liver Day", this year's theme is "Prevent hepatitis C, prevention." China is a "major liver disease", and the survey shows that 1 people in every 12 are suffering from liver disease. In
UTF8 character set in simplified and traditional mutual transfer UTF8 character set in simplified and traditional mutual transfer
/*utf8 character set in simplified and traditional mutual transfer * *
//
Have looked for a JS version, but to the UTF8 code can not be used, so it produced a self-written idea. In fact, my implementation of this code is very simple, just a replacement character set process, I believe most people can write it out. The
PHP Chinese Traditional and simplified mutual conversion method,
In this paper, we describe the method of translating PHP into Chinese traditional and simplified. Share to everyone for your reference. The specific analysis is as follows:
The
Have looked for a JS version, but to the UTF8 code can not be used, so it produced a self-written idea. In fact, my implementation of this code is very simple, just a replacement character set process, I believe most people can write it out. The
//
Class Utf8_chinese
{
Private $utf 8_gb2312;
Private $utf 8_big5;
Public Function __construct () {
$this->utf8_gb2312 = " Million and ugly professional Condons lost two strict footstep Fenglin for Li Lift,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.